package com.ssy.system.vo;

import com.ssy.common.Constant;
import com.ssy.system.pojo.Log;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author sunshuaiyong
 * @ClassName LogVo
 * @description: TODO
 * @date 2021/11/1 14:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class LogVo extends Log implements Serializable {
    private static final long serialVersionUID = 953088534301612413L;

    private Integer page = Constant.PAGE;

    private Integer limit = Constant.LIMIT;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

}
